package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.PaisBO;
import br.com.firula.dao.PaisDAO;
import br.com.firula.to.PaisTO;

@SuppressWarnings("unchecked")
@Service("paisBO")
public class PaisBOImpl extends GenericBOImpl implements PaisBO {

    @Autowired
    public void setPaisDAO(PaisDAO dao) {
        this.dao = dao;
    }

    public PaisBOImpl(){
    	setType("br.com.firula.to.PaisTO");
    }

    public PaisTO getPaisById(String id) {
    	return (PaisTO)get(id);
    }
}